<cfquery name="radio" datasource="exp">

	SELECT r.text
	FROM radio r, radiogroup rg
	WHERE rg.radioID = r.id
	AND rg.questID = #id#

</cfquery>

<cfoutput>
	<center>
		<div id="a_#randout#_div">
			<cfset index = 0>
			<cfloop query="radio">
				<input type="radio" id="a_#randout##index#" name="a_#randout#" value="#text#" />
				<label for="a_#randout##index#">#text#</label>
				<cfset index += 1>
			</cfloop>
		</div>
		<script>
			$(function() {
				$( "##a_#randout#_div" ).buttonset();
			});
		</script>
	</center>
</cfoutput>